<?php
	class sinhviencontroller
	{
		public $sv_ma = "";
		public $sv_ten = "";
		public $sv_tendangnhap = "";
		public $sv_matkhau = "";
		public $sv_malop = "";
		public $sv_manganh = "";
		public $sv_ngaysinh = "";
		public $sv_khoahoc = "";
		public $sv_mabomon = "";		
	
		public function Them()
		{
			$data = new sinhviendata();
			return $data->Them($this->sv_ma, $this->sv_ten, $this->sv_tendangnhap, $this->sv_matkhau, $this->sv_malop, $this->sv_manganh, $this->sv_ngaysinh, $this->sv_khoahoc, $this->sv_mabomon);
		}
		
		public function CapNhat()
		{
			$data = new sinhviendata();
			return $data->CapNhat($this->sv_ma, $this->sv_ten, $this->sv_tendangnhap, $this->sv_matkhau, $this->sv_malop, $this->sv_manganh, $this->sv_ngaysinh, $this->sv_khoahoc, $this->sv_mabomon);
		}
		
		public function Xoa()
		{
			$data = new sinhviendata();
			return $data->Xoa($this->sv_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new sinhviendata();
			return $data->LayDanhSach($this->sv_ma);
		}
	}
?>